package com.example.adminserivce.domain.Vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

@Data
@NoArgsConstructor
public class ActivityStatistics {
    public Long activeCount;          // 活跃用户数
    public Long totalCount;           // 总用户数
    public Double activePercentage;   // 活跃百分比
    public Map<String, Long> moduleDistribution; // 模块分布(模块，计数count)

    public ActivityStatistics(Long activeCount, Long totalCount, Double percentage, Map<String, Long> moduleDistribution) {
        this.activeCount = activeCount;
        this.totalCount = totalCount;
        this.activePercentage = percentage;
        this.moduleDistribution = moduleDistribution;
    }


}

